many changes

Plugin framework
Resource Framework
Gui Framework