Remove unused includes
Add make install rule
Add header files to install and create a shared library instead of static