changed db-error styles
added .htaccess security preventing access to got files and other system files. added mocha tests