slave dynamically maps to master

need to introduce error handling on master in the case that master receives a request and the slave map is empty
error handling