changed to use backbone for the model, removed dead code