Refactoring to a new startup routine. It is not needed to extend SugarApp in the client application anymore, instead a call to SugarApp.init(Context) has to be made in the Client application. To close the database we have to call SugarApp.terminate(Context) in Application.onTerminate()