bugfixes and added first version of db details