Prism: Started to write the export-functions, improved the ast