Creating realtime module