"add class" functionality and layout changes
classes part