making a simple rails framework to solidify concepts