get db stuff working.
Begin work on creating log table.s