adds person and message classes