Updated makefiles to put libs and includes in convinient directories.
Also created the temp_regulator example.