Init commit
Update README. Add .gitignore
Tiny refactoring and code formatting