Removed orphan flag.
Removed unused code from model, some formatting applied.
Improved testing library. Added basic review end and review delete functions.