Moved daemon code into include and src dirs. Added module header and harc tests