new MainActivity and new AndroidManifest

Assigned internet permission and modified MainActivity to make it work
with database