Added object factory generation using Rosie