Move some code from dashboard to dashboard-core

includes: 
+ DashboardConfig
+ parser package
+ model package
+ dao package
+ util package