improved readme and added some more config variables to code