move bin to classes