Improved comments
Added copyright & license