Split into framework and game