cleanup codebase

This removes a lot of dead code located in obsolete util classes.