Refactoring UI module / Event scripts

Signed-off-by: Kim Seonghyun <shyeon.kim@scipi.net>