Ticking timebomb defused

-Restructured import a little and removed unnessisary model function.
-Fixed crazy critical error in vis#displayvis which was assuming mongo's hash order actually meant somthing.