Refactor code. Split modules.