Database class implementation

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	new file:   .idea/.name
#	new file:   .idea/compiler.xml
#	new file:   .idea/copyright/profiles_settings.xml
#	new file:   .idea/encodings.xml
#	new file:   .idea/gradle.xml
#	new file:   .idea/libraries/Gradle__google_play_services.xml
#	new file:   .idea/libraries/Gradle__support_v4_19_0_1.xml
#	new file:   .idea/misc.xml
#	new file:   .idea/modules.xml
#	new file:   .idea/scopes/scope_settings.xml
#	new file:   .idea/vcs.xml
#	new file:   Moto64 Rescue Notifier.iml
#	new file:   app/app.iml
#	new file:   app/build.gradle
#	new file:   app/build/incremental/aidl/debug/dependency.store
#	new file:   app/build/incremental/mergeAssets/debug/merger.xml
#	new file:   app/build/incremental/mergeResources/debug/merger.xml
#	new file:   app/build/manifests/debug/AndroidManifest.xml
#	new file:   app/build/res/all/debug/drawable-hdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/drawable-mdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/drawable-xhdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/drawable-xxhdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/layout/activity_main.xml
#	new file:   app/build/res/all/debug/menu/main.xml
#	new file:   app/build/res/all/debug/values-sw720dp-land/values.xml
#	new file:   app/build/res/all/debug/values-v11/values.xml
#	new file:   app/build/res/all/debug/values-v14/values.xml
#	new file:   app/build/res/all/debug/values/values.xml
#	new file:   app/build/source/buildConfig/debug/ru/moto64/rescue_notifier/BuildConfig.java
#	new file:   app/build/source/r/debug/ru/moto64/rescue_notifier/R.java
#	new file:   app/libs/google-play-services.jar
#	new file:   app/src/main/AndroidManifest.xml
#	new file:   app/src/main/java/ru/moto64/rescue_notifier/MainActivity.java
#	new file:   app/src/main/res/drawable-hdpi/ic_launcher.png
#	new file:   app/src/main/res/drawable-mdpi/ic_launcher.png
#	new file:   app/src/main/res/drawable-xhdpi/ic_launcher.png
#	new file:   app/src/main/res/drawable-xxhdpi/ic_launcher.png
#	new file:   app/src/main/res/layout/activity_main.xml
#	new file:   app/src/main/res/menu/main.xml
#	new file:   app/src/main/res/values-sw600dp/dimens.xml
#	new file:   app/src/main/res/values-sw720dp-land/dimens.xml
#	new file:   app/src/main/res/values-v11/styles.xml
#	new file:   app/src/main/res/values-v14/styles.xml
#	new file:   app/src/main/res/values/dimens.xml
#	new file:   app/src/main/res/values/strings.xml
#	new file:   app/src/main/res/values/styles.xml
#	new file:   build.gradle
#	new file:   gradle/wrapper/gradle-wrapper.jar
#	new file:   gradle/wrapper/gradle-wrapper.properties
#	new file:   gradlew
#	new file:   gradlew.bat
#	new file:   import-summary.txt
#	new file:   local.properties
#	new file:   settings.gradle
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	.gradle/
fixing gradle
Project Settings update, build fix

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	new file:   .idea/.name
#	new file:   .idea/compiler.xml
#	new file:   .idea/copyright/profiles_settings.xml
#	new file:   .idea/encodings.xml
#	new file:   .idea/gradle.xml
#	new file:   .idea/libraries/Gradle__google_play_services.xml
#	new file:   .idea/libraries/Gradle__support_v4_19_0_1.xml
#	new file:   .idea/misc.xml
#	new file:   .idea/modules.xml
#	new file:   .idea/scopes/scope_settings.xml
#	new file:   .idea/vcs.xml
#	new file:   Moto64 Rescue Notifier.iml
#	new file:   app/app.iml
#	new file:   app/build.gradle
#	new file:   app/build/incremental/aidl/debug/dependency.store
#	new file:   app/build/incremental/mergeAssets/debug/merger.xml
#	new file:   app/build/incremental/mergeResources/debug/merger.xml
#	new file:   app/build/manifests/debug/AndroidManifest.xml
#	new file:   app/build/res/all/debug/drawable-hdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/drawable-mdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/drawable-xhdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/drawable-xxhdpi/ic_launcher.png
#	new file:   app/build/res/all/debug/layout/activity_main.xml
#	new file:   app/build/res/all/debug/menu/main.xml
#	new file:   app/build/res/all/debug/values-sw720dp-land/values.xml
#	new file:   app/build/res/all/debug/values-v11/values.xml
#	new file:   app/build/res/all/debug/values-v14/values.xml
#	new file:   app/build/res/all/debug/values/values.xml
#	new file:   app/build/source/buildConfig/debug/ru/moto64/rescue_notifier/BuildConfig.java
#	new file:   app/build/source/r/debug/ru/moto64/rescue_notifier/R.java
#	new file:   app/libs/google-play-services.jar
#	new file:   app/src/main/AndroidManifest.xml
#	new file:   app/src/main/java/ru/moto64/rescue_notifier/MainActivity.java
#	new file:   app/src/main/res/drawable-hdpi/ic_launcher.png
#	new file:   app/src/main/res/drawable-mdpi/ic_launcher.png
#	new file:   app/src/main/res/drawable-xhdpi/ic_launcher.png
#	new file:   app/src/main/res/drawable-xxhdpi/ic_launcher.png
#	new file:   app/src/main/res/layout/activity_main.xml
#	new file:   app/src/main/res/menu/main.xml
#	new file:   app/src/main/res/values-sw600dp/dimens.xml
#	new file:   app/src/main/res/values-sw720dp-land/dimens.xml
#	new file:   app/src/main/res/values-v11/styles.xml
#	new file:   app/src/main/res/values-v14/styles.xml
#	new file:   app/src/main/res/values/dimens.xml
#	new file:   app/src/main/res/values/strings.xml
#	new file:   app/src/main/res/values/styles.xml
#	new file:   build.gradle
#	new file:   gradle/wrapper/gradle-wrapper.jar
#	new file:   gradle/wrapper/gradle-wrapper.properties
#	new file:   gradlew
#	new file:   gradlew.bat
#	new file:   import-summary.txt
#	new file:   local.properties
#	new file:   settings.gradle
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	.gradle/