Added new class for handling deadlines