added common_functions and modivied README.md