removes test/normal.html; #123
fixes an error if mod is defined before used; #123
fixes tab indents; #123
optimize create_mod and parse_id; fixes an error that main module will lose reference; #123