Reform the directory architecture

- Move main codes into Redminer folder