extractor implementation and partial test
generate ruby script along side bash for windows users (hopefully)