Initiated slave node api (slave.py), small updates to master api
Refs #18