implement Render method

- add config.go
- controller Render method implemented