refactored(authentication): Add json authentication failure
refactor(modules): rename modules to auth-modules
refactor(events): refactor events

rename events to event
rename modules to event-modules
remove path from init
feat(modules-loader): refactor modules-loader and add better logging

better logging for modules-loader
refactored modules-loader
only one call from server to modules-loader