added revised Gshelf codebase