change ExecuteCommand to return an error
refactor daemon code, moved commands to core/commands
expand path names for add command, and pass errors up even more