added python file to manipulate db