rename registry to routes
fix gitignore according to previous commit
cleaning, document
handle get and post request for resources