Converted to backbone app (roughly)