Fix covers directory creation, move functionality out of Event class. Fixes #1