A simple implementation of node-style require packages