Moves clear into the app-android function
Sets compiler level to O3
Breaks out some kinetics and drawing functions