several documentation improvmenets for the api, refactoring of some controller code
better docsmenu