Preparing some code for using Babylon.js