added json parser
config stuff