Corrected display error

- function drawCountours expect as input integer points
- reimplemented as a function that takes float points
License and refactoring

- Relicensed code GPLv3 after permission
- Refactoring with new headers and cpp files