Split up input data into the seperate methods and into the appropriate classes