saving here before refactor
added in javafx proj
basic connection status in javafx app