refactoring:
- make creation of vertex array much easier.

bugfix:
- add slot id in vertex array struct.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>