create database retrieves all database data todo: convert to usable objects for app