Rails-like structure approach