Add license
Change search code 'in' to 'has' and add a real 'in' method