Finally got sparks libraries to autoload. The autoload.php file has to be in config directory.