Moving readCliFlags to its own file