Desperately try to fix my database problem

This is not good yet, but has to be pushed at some point
Test read and write method

This is where to root of my problem is, probably...