Split code into modules