add cspace model and some view work