added Database Code to github