cleaned up CMakeLists and added install directives