started basic data layer implementation