added an image clip class and mixin pattern. cleanup and expand documenttation. language tweaks