Restructure, no more use of php_value

I replaced method of loading index.php and fw.php. Now all traffic is
redirected by .htaccess to fw.php and index.php is simply included in
runtime. Also fixed some bugs with hooks.