app bootstrap improvement, component refactor, and fix for scoping issue.