Prepwork for some base classes for tiles

Added some base classes.  Moved a few functions over probably need to do
a lot more.