added database helper files; linked intents