factory definition implemented
factory build implementation
container usage implementation in Factory
fixed collection usage
added test for factory
added exception for non-existent definition
update factory test
added exception build test
updated test for IoC in factory