Refactoring and new mesh conversion
support for textures and stuff