split the import and export functionality over multiple files. Added the functionality that allows joining games in progress