this code is quite ugly. Is it really worth it to have this here just so we can get rid of './lib' when loading files? Afaik getting rid of './lib' is just an aesthetic thing, right? In which case I'm not sure if getting rid of './lib' is worth introducing these lines of code. However, if this is more than just an aesthetic thing I'm more than willing to change my opinion :).