updated cmake from fcmake project
added generating of documentation
added file with license
added config file for generating documentation
added clang formating
reformating using clang