Controller infrastructure implemented.

-Makefile, control.c, control.h, data_collector, pws, temperature
related to the controller change.
-rename.pl renames files without tec?a in their name
-statistics_by_f made more generic