Add Field class and some important methods