Add static App method to load functions

Also fix autoloader