added build onComplete event
fixed routing bug
fixed build against env: wrong bundlesPath in Config