added new files, move host and cluster to lib