listener class for initialize database server