refactor reponame lookup
move build steps from client up to server