Added API calls for creating and listing environments, but there's an issue with the database connector