improved htaccess file
CI will now guess the base_url; migrated controllers to use the new way of getting latest entries