Splitting code into several smaller files