Add simple error handling to add_source command, add console entrypoint