more module work done
modules system update
loader update to work with events and modules