Split time.js into alarm.js & astro.js

Better separation, but might have to completely rethink
Testing alarms, passing event priority