adding command_log table and early implementation