Implemented Image class. Fixes #6.
Cleanup base.rb for coding style consistency.