I am building an application which uses credits for keeping track of usage. I am looking for advice on how to design part of the system which revoles around the credits.