front-end code that saves connections. Sends project id, all connections, and devices with interfaces.