Started outline of database and permission layout