At Mundy’s Mill High School, the sophomore class has 40 more students that then freshman class. The junior class has 30 fewer than twice the number of students in the freshman class. The senior class is two times as large as the freshman class. If there are a total of 2,214 students at Mundy’s Mill High School, how many students are in the freshman class?