Move all require statements to single lib