added source file and sample. added makefile.