Move love callbacks into core/basicgame.lua
Move timerpool into core
Move statemachine into core
Move gamestate into core