Initial implementation of load_self

Todo: load_self on windows impl, need be checked (TCHAR and MAX_PATH
types)