Interpretator and rename main catalog

-added all fucntions
- need to translate from c++ to c
- and somewhere divide