Changed config layout
Remove comments from json (hmph)
Fixed SQL typos