Refs #5 added dynamic factory and loader class