Major update #1

This update includes significant improvements in Encryption class,
Database class and some changes to the DEMO login class.

This update also marks the start of the first round of code testing and
documentation.