dynamic create class and create task pages