Added rules, added user-CA interaction, improved controls