Adding karl's obj loader code