modify config with filedata
modify test
add config test
add Config class in Java
add Config
modify event management
support call js function from event service