Initial revision
Removed non-working version-testing code and other compilation fixes
Merge glft subproject as a subdirectory.