Added backend and basic battle system.