added missing documentation and method names
changed license headers