Remove logs.
Refactor, breaking up pieces into sub-modules.