Split code to smaller parts