Moved all code dedicated to slave into a folder named slave to parallel the master code.