add router to express server, handle post, get, static