Removed IStaticModule and added some documentation
Fixed some bugs