Proper require
Rebuilt the way data about api objects is stored. It is a little bit medieval, but not magic, which is good.