(Closes #12) Added rename functionality to routes