Added HTTP_REFERER sample cond in .htaccess
Replaced SQL tables names in models with aliases

This change is part of issue #9