Added Model and some contents to Main.