added .gitignore, CMakeLists.txt and main & mainwindow