Adding daemon code to the repository
Add a top level folder for daemon code
Delete earlier files
Added polling code
Resource Registration
Fix race conditions
Created separate child and parent config files
Address issues raised by Devendra
Add prepare and clean targets

  1. prepare target:    Creates the classes and dist directory in build
  2. clean target:      Cleans the output directory
Invoke the child diff resources script
Merge branch 'diff-resources' into daemon
Invoke parent script before registering the child
Add TODO comments and update code formatting