added variant to constructor coping with passing html diectory and created img paths class