Bind funcs to IR via dict. Made more comments

IR codes stored in dics with binded fuctions. From now no more if elif eilf... :)
Existed funtions documented.