added configuration file and begging of wrapper for cli operation