First implementation of a packaging task for asts.

- See build.scala for TODOs