Add API

1. Add API router
2. Change kohana core request
3. Add API