Added credit_rate parameters. Added bonus system and bonus_min/bonus_rate parameters.