Creating an API to control Galileo