ImageView attribs done and some refactoring