Improved top level interface

Created a proc structure, routines to get/run a proc structures,
convenience function to run from strings, init/create interpreters
and exec_envs.