A ruby base application architecture (a conceptional example)