Made logic flow simpler / more explicit
Added Mask defenitions for all values on the rtc
The rtc now works again.

This is a hack
We can now set the RTC time and set default flags

We still need to handle HT and BT flags