Split up code into seperate files