Refactoring build process; Refactoring Scene3d die to code style