added class section field
Many new changes
addign views
change relation to use