Implement cas
Fix parsing of cas; add a simple test case
Adding more test cases for cas
Factor gc
Adapting gc to pcesk