Added stop command.

Some bad code needs to be ironed out but it works fine.