a template for fast and clean create thrift service