Better modularity and usage of Node's module.exports functionality