Simplified code and removed hard-coded list of static dirs.
Connect looks for /routes and /api/v2/streams/snapshot These are now present and working. I've also hard coded the static files directory - fixing this properly is a work in progress.