introduce index, router, flesh out server