Made the code a bit more modular.  Most of drawing done in map.rb