Change: make file a template
Change: use template resource
Enhancement: configuration options

Added more configuration options.
Some sensible production defaults.
Merge pull request #59 from till/refactor/apc

Refactor/apc