Tidy up spotlight

Move tests from tests/spec to spec

Verify and fix readme where wrong

tidy up server.js

add tests for command environment config

extract out app setup logic