changed contact system to MVC architecture