Fix/input depth

many fixes and additional test, including refactoring around file objects, io.depth and io.constructor, adapter  prefix separator...