created factory and some business classes