Added a daemon for ATOP data scanning. Refactored code as necessary.