Make various variables configurable via constants
- copyright comments added
- inline code documentation added
- debugging into logfile added for development/ddev context
- constants added
- constants used in controller and javascript
- readme updated
- version raised