refactoring gitignore and Exception classes
added gitignore at root level