A RESTful API server for driving serial based CNC devices