Revert "parameter of init method should be 'config'"

This reverts commit 8752949bc1abe143f72d0b9103bbdc929a8b2f7d.
Revert "fix method name. It is the init function (as stated in text before) not index."

This reverts commit c0a213cae08f8f0aeae055e0da622d6432ad8ea1.
in Composite Mojits doc, remove mentions of deprecated 'init' method