move route callbacks to controller module for test driven dev