Added methods, also rename the classes name from appointments to appointment so project is being updated.