added database class for ektorp (currently not working because of the deprecated model: JsonProperties are missing)