Renamed score to money, cleaned up unused code and some other small stuff