Added basic error handling to cli and moved cli config to separate config file