added cocoadocs comments in the classes and updated licenses