Fix default Index controller so it can be used for testing for now

Added the (eventually default) page delivery logic. Eventually this
will be reactored out to the base EndpointController class.
Make the spacing in index.js prettier
Implement enough of the Connection class for my immediate needs.
Get Connection methods out of EndpointController
Concept for ViewBuilder class.