changing file structure and adding buildpack checking for the rails dokku plugin