Added more code comments. Minor changes. Removed function add_outputtransformer.
fixed "module exported functions" test because add_outputtransformer is removed from server.