Refactor: some code rewriting for more versatily and understanding.
Tests: Basic tests for the import and routing of a module's  and .