Merge pull request #5 from Seonaid/add-crypto

Cleaned up old code
added encryption to passwords using bcrypt. Removed more defunct code. Tidy! :)