Added docs on controller