Created PacketHandler implementation for CMS use with built-in sendError function.
Include template directory relation path in the Template class.