removed submit
Marked private members
Documentation
removed auxiliary functions