Changed file architecture no how widgets are loaded to make everything more modular