Started changing files #150

There are things left to be changed.
Id for type of sections is now changed to:
0: header
1: section
2: examples/tests/etc (change this to three separate ids?)