changed schedule calculator to work with globals

Implemented courseServer