Updated application to work with database integrated for MySQL