Add sub app /api

$ padrino g app api
Generate the posts controller in the api app

$ padrino g controller posts --app api
Move API endpoints to /api/posts