add ThriftApplication