Refactoring

Created separate tests project using MSTest
Code cleanup
Added arguments parsing
Cleanup