Parser function done.

Only subfunctions remain (have fun)