Completed almost all commands + error handling

Signed-off-by: Mansour <mansour@oxplot.com>