Implemented extract in CLI
Added missing separator
extract.cpp should #include <string>