Merge pull request #1 from fdelapena/master

Fix building errors, better comments and add readme and license