Made all the nested classes internal
Optimized code
Working on appointment