Introduced new graph building design. This replaces cumbersom reuse through inheritance. Implemented for java analysis.