more WIP stuff, filled out some of rcl/rcl.h