Merge pull request #3 from rohankuruvilla/master

Updating readme with better build instructions
Fixing typo in Readme
Refactoring code. Adding new c++ files and making things cleaner
Fixing bug where changing the pairing code wouldn't restart the NSD service