Implemented Database and User Modules.

Implemented Database module and user module, additionally added a
library folder which holds the password hashing class.
Added basic module testing

Created a basic php script to test modules.