working game pages, moving logic to app module