Add the database table for each entity, and views to return output in useful formats.
Defines settings and logs table, with sufficient default values to run.