Implemented api generation from gl.xml specification file. Old *.tm and *.spec files are deprecated.
Fixing problem with multiple required functions