Read only class

Added ability to set a entire class as read only