Update CMakeLists.txt

added comment
added new spacing to function declarations
creating shared library instead of static
Changed License to LGPL
Added newline at end of file
Update README.md