simplify link splitter
dead code removal in tests
phpcd codestyle fixes
fix large amount of doc strings