Model now uses complete paths as ids. Also, some convenient methods
Fixed classes after changes
Fixed tests