trying sync up .h and .c files. let's make an API
updated README.md