refactor(routes): extract the routes as a modules

The categorization of routes:
- API routes to handle the incoming request for API
- General routes to handl the incoming request for loading views