added better support for missing files (e.g properties files etc). Fixed some bugs, made a new module for file_locations