added 3d environment, working on otimizing animations