Separate code to files