added routing using flatiron director