New device manager. Datasoubase, view and model changed, still need to work on the datasource and the controller