Documentation and optimization of controllers finished