initial rank module.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
add rank controller.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>