fixed license headers and docblocks