Made a router to handle requests, minimal index.php