Added CommandError and interactive terminal
Added __init__ for later importing