Added more code to obj file loader