General refactoring. Moved vector3f to vectors class.
Added documentation