copyMemory added
Memory instance for triple added
some code rewriting and cleanup
minor re-indentation
hlint cleanup
removed two warnints of unused bytestring stuff