Fixed @package
Added database creation hooks
Allow for setting options via constants
Working authentication
Fixed some form input names/etc