multisite module management

add module management for multisite support (99%)
overall multisite process is 80%