Made PHP 5.3 compatible. Removed HTTP and routing (use Symfony or other 3rd party package instead).