created Main class