Renamed functions. Added gitignore file