adding datamanager and apiclient