moved database service into Elgg namespace