move Application to its own file
split Player into own class