added VS2012 project;
code refactoring;
added encoded output;
updated readme;