Move rails public stuff to source