Gateway now working only with implemented modules. (Not interfaces)
Almost all base errors
Trying to dllimport
Fixing wrong memory accces