Refactor code

- Added gitignore