Reorganized and added python module