Massive clean-up

Clean-up files and switched over to python files - rather than sage.