Refined object loading, added sprite loading