+ added CMakeLists.txt
+ added headers
+ added library 'add_main.c'
+ some optimization