started writing main file
moved Server and Client to their own files.