implement modular pattern using fnando's js module lib; add EventBus lib