Extracted a superclass from MTKUnixArchive

Also made it more complete.