added python file and server functionality to interact with it