added Visual Studio solution
adjusted params and refactor codes