On homomorphisms of groups into the Mapping class groups