Added javadocs for util class, renamed typeLayout