Wrote database_list and added appropriate __main__ method