added node models and changed layout