made ID final on many beans.
added Factory classes for constructing those beans.