added config.h, and globals.h
changed slides slightly, most comments