Refactor the code, separate into multiple modules