rework closure handling
pull system lib into runtime
flesh out system library a bit