Created various classes and the connection handler