Create devices controller, model and views