Added database support.
Added database support.
Added time log table.