moved python application to api dir