Refactoring

- Restructuring of project into a library and an application file. 
- New documentation explaining dependencies
- Added doxygen file