Split code into files