Finished work on EmtModule, big refactor.