Started some scheduling stuff and fixed a couple bugs in the Makefile and eclipse setup.