old_contents: from diary.diary import Base, create_entry, create_database_session, Entry
  from diary.cli import main
  
  
  __all__ = (create_database_session, main)
  
new_contents: from diary.diary import Base, create_entry, create_database_session, Entry
  from diary.web import application_factory
  from diary.cli import main
  
  
  __all__ = (create_database_session, main)
  
subject: allow running as a server