add backbone code for app