Split up the main file and started to create an interface.