added encapsulating BEAST source for a complete fork