Renamed methods and documented some
Fixed the boolean unit test