Refactoring and raytracing fix

1. Update three.js to latest version
2. move orbit control into separated JS file
3. Fix on raytracing