Basic Database layer

Sample CRUD files for all database tables. Still need config data.