refactoring: math and engine modules
working box-box collisions!