Split code by major functionality