Refactoring. Created Singleton class to store binary information.