This should be defined in separate library. Libraries should be:

logger.dart, ajax_handler.dart, post_handler.dart, mongo_logger.dart, print_handler.dart