init stclasses for view