finished imperative python, moving to modules