update main file to conform the thesis chapter structure
Update .gitignore to mark unnecessary files