Added front-end and commands for adding elements all the way to criterion. I have not tested criterion yet.