Added logic to attach images to events. Refactored classes structure (WIP). Updates #12.