Move cpu/mayah/basic_field to core/core_field.
Move several tests from cpu/mayah/field_test to core/core_field_test.