Added some comments. Changed all printfs with log functions. Created DoxyFile. Renamed path.