Added texture field to autoloader

Also made the autoloader PSR-2 compliant and improved the `.gitignore` file along the way...