Added service classes - FileService, BranchService and BaseService