Main AlarmB intergration

Not complete yet, RTC wil be added