Refactor controller

1, refactor controller
2, refactor fake app