dbgen and external libraries added