Updates OOP style, fixed bugs, improved license 

Added license header to every file.
Improved OOP using friend functions for the interrupt handler.
Added a delay to prevent unpredictable behavior after ADC setup.
Improved README file for the license.