Implemented api generation from gl.xml specification file. Old *.tm and *.spec files are deprecated.
Fixing problem with multiple required functions
Updating README to reflect changes.
Some code cleanup and documentation.
Fixing small namespace-bug.