Foundation classes for Aptible resource server gems