added core controller

so menu and game controller can extend