implemented initial .htaccess, changed several oo implementation details, other minor fixes