added unit of work and core data to project