Use case objects instead of case classes