split installation into server and agent components