Add openseadragon input hook and image helper
Convert index to coffee script / add stub model