Replaced Makefile with CMakeLists.txt. Updated .gitignore.