Add support for img tags
extracted test to own files
major refactor
implemented links