gitignore file added
move getting started code to separate func