Move some code from dashboard to dashboard-core

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