Added a flag to easily run my code on any server. Also made the webpage more modular by adding params for different page loads. Few comments here and there.