added a gitignore and small modifications here and there
some changes