Hugh Morris has left his position as managing director of England cricket to take a role with Glamorgan.