Config moved to json file, added comment scanning