Legal Aspects of Green Energy Projects in New York