refactor the project using backbone