Adds rails api in submodule