Load class registry from application database