Modified code to add some more config options, added README