Add argument parsing. Turn off tests in main CMakeLists.txt