Finally a working data storage

Finally a working data storage, needs to be modified a little bit for
the app.