Changed logic and controller update order, to prevent graphics glitching
Added GameObjectFactory
Added several getters and setters in Pallet logic