source updates

- add delete function to workbench
- restructured Circuit class and its components