Seperating janus into multiple modules.
Cleaning up some dependencies.