JS logic is separated into Backbone classes.
Created TImage model.
Ticket #1.