optimize project create class