refactor road building to fit backend design