Add ability to edit criteria in relationships and query.
Update license to be MIT.