fixes spelling mistake in diagram. continues object oriented refactoring