entirely reviewed vertex buffer handling
refactorized index buffers