start bottle server only if running as main app
add WSGI app for mod_wsgi