Create a module for compiling beast and add a unit test runner