Refactoring

Encapsulated Atlas class in a Daemon class for simpler reuse.