Refactor fields.

- rename FieldBase<> template to FieldAlgorithmBase
- rename its files to field_algo_base.*
- rename*_impl.* to *.impl.*