Base rails app setup