modularized models and views