Added data.py - python module to handle reading and writing chunks of data with attributes