add the codes.

add the all codes and resources first time.