A little bit refactored code
Added extract utility function
Updated readme