split out game into a separate module

also added score