Improving dashboard functionality with classes