adding rails backend, tests, etc