application of carbonaceous template for porous structure