here are some source codes as libraries for RZ personal using. to understand what do they do by their file name.