move actor api into one scala file.