Change to Apache License
Add/Update comments + small fixes.