Refactor starting / stopping into shell files, in an attempt to fix Travis