Renamed spawn to exec and changes its functioanlity a bit to be more intuitive. Moved examples to their own directory