Added java files to server model

Added java files to server model and made some changes in
ScheduleHandler, also removed unused methods in filemanagement.