Move data access to separate project