BUGFIX: Make credit class
issue 10
Finished the Credit class