Input page added to set the parameters for factories

Also the @Factory interface added for marking a class as being a factory