Added configuration options.

Module set up for more flexibility via config options.
Dist files moved back to config folder.