It holds all the logic that was loose in the require wrapper before - is it ok to do it like this?