Realtime Logic (FLY-8)

This WIP pull adds realtime logic.