Virtual dtor yaaaay. and repository is no longer singleton (singleton? wtf)