Updated to use beast.platform

Beginning of the process to implement beast/python into this file.