Add frontend for describing scene. Fix bugs and change API.