added new datamanager interface and two datamanager classes

created the idatamanager, serverdatamanager and localdatamanager