Update gitignore and add cmake file