refactor dashboard to have more generic and abstract app;