Added distribution

Added distribution, and made the FileClassLoadingListener write to file.