move more installation stuff to the code: user, dirs, upstart, etc