add controllers and controllers' test

add controllers and test for dashboard, dataSource, widget, record