Point program to database in azure cloud and fixes some bugs.