refactor folder structure of selfmgr for long term goal.