<commit_before>'use strict';

/**
 * Moudle dependencies
 */
import config from './config';
import db from './db';
import express from './express';
import events from './events';


/**
 * connect to database and bootstap the application
 */
db.connect(bootStrap)


/**
 * Pass the db to "express" which returns initialized express app
 * and start the app by listening on provided port
 */
function bootStrap() {

  express
    .init(db)
      .listen(config.port)
        .on('error', events.server.error)
        .on('listening', events.server.listening);

}
<commit_msg>fixed imports for new structure<commit_after>'use strict';

/**
 * Moudle dependencies
 */
import db from './lib/db';
import express from './lib/express';
import events from './lib/events';
import config from './config';


/**
 * connect to database and bootstap the application
 */
db.connect(bootStrap)


/**
 * Pass the db to "express" which returns initialized express app
 * and start the app by listening on provided port
 */
function bootStrap() {

  express
    .init(db)
      .listen(config.port)
        .on('error', events.server.error)
        .on('listening', events.server.listening);

}

{'fraction_non_alphanumeric': 0.13520408163265307, 'fraction_numerical': 0.0, 'mean_word_length': 3.2644927536231885, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4970654', 'n_tokens_mistral': 343, 'n_tokens_neox': 336, 'n_words': 116}