more refactoring
readded the build in configs
optimized namespace imports and added license headers