Enhance cmd history, Start working on run_command and Context