Replaced dependencies, add gitignore, refactor.