Split code in pieces