setup rails and add schema image