Add source and header sample code