Refined inheritance(Object Oriented) class layout