Multiple usage support

Multi instance support added
Active class added for active page