Restructured app. App now references a pure Java module for core game logic