Fix: strip whitespaces for text() function
Move extraction functions to seperate file.
added some general purpose functions.
Updated Readme.Md