added routing and docs