added compiled database class