Changed model class to support more advanced modles and added
implementation for future texture support.