Changed project structure, made folder for library. Mode files for form factory to the library folder