Fixed application.wsgi to initialize database