Removing dist folder from gitignore
updated private methods