Added ability to read extensions from file

Added resource files and such, need to make this work still but a lot of
it is there