Added python database accessers