Added missing license information and some documentation