DataIO Finished

Finished Interface for persitent saving of the patterns. I think there's
still a little bug in it, but I haven't exactly figured out whats
wrong...