routes get routed to functions. 5 routes, 5 functions. :) we're pulling out the common stuff into the sql generator functions though.