Added license en small fixes