Added support for .obj file extension to require()
Some tiny changes