Adds atan2 (aka setDirection) to Trig implementation
Some build tweaks and convenience functions
Renames AppData to App.
Misc tweaks