Refactor some code. Init number of coins at signup.
Merge pull request #25 from paulld/refactoring

Refactor some code. Init number of coins at signup.