First mostly working loader-C