Added TextureAtlas and createInstance() methods inside the models

Signed-off-by: thehutch <th3hutch@yahoo.co.uk>