added an api router and mounting to nodeapp engine.
added example api routes.