Removed lightgl and added Three.js as rendering dependency and changed structure