wrote source program of the main routine. but most of details have not been touched yet.