Fix PH 5.4 error and Cleanup

Fix PH 5.4 error and Cleanup

- Pass `$controller` to form
- Add ccm-ui wrapper
- Remove closing `?>`