move map logic into its own object
preparing for hit detection