Improved gitignore and removed unnecessary initSubmodules.sh file and fixed git submodules.

As per your request, improved gitignore and removed unnecessary initSubmodules.sh file and fix submodules.