Added license.
exporting class.
small changes