Generate lighter thrift files
Changes made :
  * Remove processor.
  * Include constant inside main file.
  * Include mock