Better texture/model/shader loading

Work in progress code looks crazy right now