Added interfaces for view and model