API internals: added abstract susbs for entity management (try memcached first, then database)