second commit

rebuilt structure using an objectContainer class and inputhandler class