cntralizing component loading- took code out of bindings