SQL function to get level, API to get recent level increases, config holder for dependency injection