remove a lot of unused code

bye bye!