huge refactoring around the whole python directory
including many enhancements to the new temporal events