added a main method for execution
added version reading from Package.json, parsed the different sets in the configuration file