Extract Function into a separate file
Update README [ci skip]