Add class enumerate and CMake config. Describe code formatting in readme. Set gitignore.