Renamed some functions and moved babylon 3D code into babylon3Dviewmodel