First commit

all the necessary python code