Initializer for root dir
Initializer for math dir