added create and drop database functions to the applications