Initial python verson + minor updates