Implemented isActive() and activate() methods for Shell

This PR resolves #60