Removed unused stuff. This code is used just on GWE Added License code,
Documentation added for public API