Convert app to backbone