Remove unneeded features and unused files. Add clang-format for great justice.