Metagame framework

added league model and game manager