Pat now can be run as a Cloud Found APP

To test:  change this branch to be the default branch in setting

Current limitation:
- Real push doesn't work, yet to identify the problem.
- History is lost on server restarts / crashes