Code Review Finished

Tidied up code
Added Tests that can be performed from cURL
Storage of hashes now works via POST rather than PUT
Code commenting! Yay!