First version of script.
Fixed file operation method in Rakefile.
Fixed path issue in Rakefile.
Fixed submodules.
Improved Rakefile style.
Fixed submodules initialization issue.