Add FormFactory class as extends class