refactored film reading and file writing from host and task manager into a separate dao. Also fixed a bug where if the hosts array were empty an error was thrown, and the ui didn’t work properly.