Groups and categories as SPF models
API keys as SPF models
Replace EAMS functions with SPF counterparts
Remove Doctrine DBAL dependency