personal utility scala classes