Updated Schedule Class

added some delete, and get functions. The getEventbyName needs some work
for the else condition