created a text to json converter for the config files
combined the firsttime with index through config
resetFirstTime will reset the firsttime status in the config.json file