added DatabaseManager (now tested) to the MainActivity