Add mesh object

* use mesh objects for graphical interface
* add cube model
Fix meshes without indices
Automatic vertex attribute pointers
Unclean copy