added gitignore
Source code improvements