Added resource.subscribe support and linetracker