Change database_utility modual from fuctions to class

Change database_utility modual to class, which improve readability.

Add swit_app_key to  begin_for_SEU.