Adding layer command and heat layer factory