Added root directory and configuration caching, also added the get command which I somehow had missed before