basic features of the dashboard seems to be complete now. Coding refactored for easier extensibility