Library loading utility; first pass at class macro