Adding LICENSE to each file + Adding Doxygen documentation + some code improvments