Fix router and change namespace use

Fix router error:

     Notice: Undefined offset: 0 in D:\v2\app\core\router.php on line 121