add controller and html files for apartment model