added open subtitles hasher
added login operation to os api
added download func from os
clean some code