Most of functional code in

Added startup, indicator LED functionality, main loop (modulation), and
detect signal handling. No interrupts used yet, may need for low power?
Pins may change