JSON config file

config file simplified and stored in JSON
lots of bugs fixed