Base classes for DRYer force.com apex code