Implemented main + Changes in documentation