move to rainbows and add base controller class

Need to make some modifications to the model