major update - removed dependency on dms module (not great for image management)