added database instance creation, listener check plus stop/start db