Removes deprecated code and renames backend package to backends.