Initial commit - basic functionality, no services

Basic functionality:
-ADC reading thread
-Automatic threshold calculation

OSGI services have not been implemented, stay tuned.