Added slave and some supervisor functionality.
Some more (nonsense) functionality.