New editor

Inspired by http://www.freebase.com/query and some discussions.