Added Chechbox generation
Added Radiobutton generation
View generation outsourced to a new class