lowered amount of API calls, using singleton design pattern on textmaster.class.php