Created two classes: Main and Field