Added API support for get class details, unit details and assignment