Build the construction of DataManager class

added constructors, members, factoryMethod, init method and AddDevice