RecipeHelper: Clean up code and delete bin files

- Delete unnecessary files like bin directory and gen directory
- add comments and re-formatting the code