added lowercase_validator
added missing copyright headers and normalized newlines