Beautification of the dir structure and the config files

Added mandatory and optional fields help in the .cfg files. Moved
templates into a templates directory. Added better help message to the
script

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Merge remote-tracking branch 'upstream/master' into usb_tracking
Device path close once done, license text addition, method name change

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>