Remove dead code

I've looking through the code of whole application and detected a lot of dead methods and even classed (thx to ```AppCode``` for highlighting that). I've carefully tested all the deletions.