Refactoring
Added hsInit to runtime startup

And included a table for storing module environments.