add .gitignore file
add requirements.txt file
complete core logic