Base on app-engine-starter but works outside google app engine