Added dynamic code loaders to all of the samples

- Need to refactor the sample code and break the files into smaller subset files asap!