Added .htaccess rules
Add controller.php
Add redirect, loadView, loadPage and checkAuth methods