adding config loading
linting
fixing namespace issues