Basic module and API stuff

Plugin system done, not tested yet
Dynamic creation of module sub items
Fixed multiblock creation