Added interval to configuration file

Default interval is 5 seconds but can be overriden in JSON file -
interval : nn