Created a `sleep_interval` config option

Integrated agent with `sleep_interval`, and moved test.json into a
support/ directory.