Implemented remaining CLI commands and improved the error reporting for the commands. Also changed a couple of default settings