Move value_closure to a separate module, move apply to builtins
Move type and pos to builtins