updated to 0.3.1 and added badge and license in readme.md