SoftwareStudio final project, the connection part