Create documentation

- Reorganize and clean up
- Clean up and isolate ad_height_limit variable
- Organize insertion verification function
- Clarify search loop
- Clean up, add comments, update version