Split code into serveral modules.