sketch a cas integration layer
fix settings