Implemented Database interface for android, which now passes all tests.