New Plugin  for generation custom posts
also fixed some issues
deleted previous files with custom post types