Some refactoring
Add metadata for short and long commit shas
Add tests
Add more descriptions to readme