add .gitignore file
seperate loading a code from opening a file.
use template to accept any type is dervied from "wistream"