hacks to APIController, trying to get this app with minimal effort.