added validator class, removed all html/css etc