wrote extractModule and makeGame