Updated to use beast.platform (v2)

Beginning of the process to implement beast into this file.