Moved files into directories, added config options

Provides for easier integration into operating sites and frameworks. Updated docs, examples, etc.