Review comments implemented to add usefull code comments and some code cleanup
Added rspec test for parse method having latest publishsettings file as argument