[WIP] Rough schema; DAL layer; tests for DAL.