Initial rails project.
Config databases. Add and install foundation.