File structure. Added a controller for UI. Described a daemon as a class. Connected the things