New functions

Free reign has now been implemented.
Some functions have been moved such as start(), restart();
Some minor bug fixes