Refactor cleanup code

Col/Img/A classes, attributes now user configurable.