misc: add posmgr module

Add uniform position manager interface to manage positions.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>