Extract data access into its own project