layer header and cpp added : both working with comments