Updated Factory methods to close the FIS after using it, and corrected the properties file to prevent the ClassNotFoundException, now the Factory works.