added type and getters to Request and Response, naming
added global NameService