added all backbone code, working on intial page setup and end page