added 2 classes, server and connection that is supposed to handle things