Fix issue of calling non static method MemoryDatabase::getByName() by making it static.

Signed-off-by: Se7enChat <se7enchat@zoho.com>