- var logger = require('./src/logger')
- var routes = require('./routes')
- var utils = require('./src/utils')
- var videos = require('./src/videos')
- var webtorrent = require('./src/webTorrentNode')
-
+ var constants = require('./initializers/constants')
+ var customValidators = require('./helpers/customValidators')
+ var database = require('./initializers/database')
+ var logger = require('./helpers/logger')
+ var peertubeCrypto = require('./helpers/peertubeCrypto')
+ var poolRequests = require('./lib/poolRequests')
+ var routes = require('./controllers')
+ var utils = require('./helpers/utils')
+ var videos = require('./lib/videos')
+ var webtorrent = require('./lib/webTorrentNode')
+
+ // Get configurations