added named building functionality. made some changes to the factory and builder classes in general