created initialization function, and function to extract root dir
Merge branch 'master' of github.com:a64adam/godrive