Fixed all warnings and added a base class for the Fields