refactor backbone code to make router a true front controller