Porting front-end to backbone (in progress)