Designing a REST interface for CSPA command line services