creating obj loader