field attributes converted to properties

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>