Refactoring of the inSections function.
Refactoring of the inSections function.

* Move all the axillary functions to the bottom for an easier look of what
  the function is actually doing
* Also some small changes to parse and languages functions

sourrust/hyakko