Main Activity mapped to DB