Fixed types
Added error code for invalid ELF
Fixed function naming
Now loads and executes ELFs rather than flat binaries