Removed tileData.setCollisionHandler method. The collisionHandler was already doing this function in its constructor.
Made a getObjectProperties in TiledMap class, that returns all the properties of a given input object.
Changed GameObjects to generically take a Properties argument, which is parsed in the constructor of corresponding subclasses.
Changed InitializeObjects of TileData to use the above methods in gameObject construction. This made the arguments of the constructors all the same.
Made a parserDict dictionary mapping strings to classes. Used it to derive generic class constructors in initializeObjects. Made a method to add a GameObject based on this and the derived Properties arguments above.