Updated the 3d api to compile, but core parts are unimplemented yet