beam/examples/beamsh: moved builtins to a separate file for readability