Commit #3.

Changes:
* add equalization by max/min values per project
* update cmake to compile in debug mode by default