moving most of the functionality out of the sublime plugins
omg mock