Cleaned up and condensed the files.

as title says. finalizing what is needed to read and write to direct
memory addresses.