Removed unused image copying features
Added a doctest suite