overhaul of built-in function architecture

- unionized obj.data
- standard function prologue, function utilities