Changed require in autoloader to require_once

Fixes issue #270