Fixed compile error in object factory
Implementing draw function to factory
Draw function added to ObjectFactory