Correcting autoloader
Adding FlushListener implementation