Added two extraction methods $ and [[

Code merge is done.