moved code to standalone file. SublimeText plugin is obsolete and will be removed