fix warning from IPython
remove extraneous comment
remove unnecessary path manipulations
add a basic .gitignore