Rolled back to express version 3.x for reliability/familiarity. Placed routes in external function. App listens on environmental port and host.