rbm: add main file skeleton