Minor cleaning on agent and master modules.
Adding readme.