Put coin management into a Coins.lua object