change config to be a seperate file, start setInterval-ness