Added procedure prefex and api module to config
Moved the host and port to router from server
Moved the host and port to router from server
readded dispatcher's self variables it needed