Merge pull request #8 from emilh91/master

Adds interface for data retrieval and storage (closes #5)
Closes #10