code refactor

separate modules for EJC core, EJC ws layer, and the example code.