fixed route
Fixed Config inits
set static path for layout
changed config calls to include namespace