A sailsjs implementation of router program