Start on application plugin integration

Running from the bundled version still doesn't work, due to conf file classloading problems.