Moved dashboard to lib (needs safety to check values exist)