delete unused code

Delete a variety of code superseded by the frontend rewrite

Change-Id: I3148e40c209ddb50469424d1ae4cc4a3a4026c2e