Functions added to doctor class

Functions need to be linked with database?