Added requests handling and structure change

use class constant instead of inline string value here
```php
class Router
{
    const DEFAULT_CONTROLLER = 'Main';
    ...
    private function getControllerName($input)
    {
        $name = self::DEFAULT_CONTROLLER;
        ...
    }
    ...
}
```