app rewritten using ember

Also changed the coordinate system, now it's much more intuitive.