Index: src/webapp/apigility/config/application.config.php
===================================================================
--- src/webapp/apigility/config/application.config.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/application.config.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,28 @@
+<?php
+/**
+ * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
+ * @copyright Copyright (c) 2014-2016 Zend Technologies USA Inc. (http://www.zend.com)
+ */
+
+return [
+    // Retrieve the list of modules for this application.
+    'modules' => include __DIR__ . '/modules.config.php',
+    // This should be an array of paths in which modules reside.
+    // If a string key is provided, the listener will consider that a module
+    // namespace, the value of that key the specific path to that module's
+    // Module class.
+    'module_listener_options' => [
+        'module_paths' => [
+            './module',
+            './vendor'
+        ],
+        // Using __DIR__ to ensure cross-platform compatibility. Some platforms --
+        // e.g., IBM i -- have problems with globs that are not qualified.
+        'config_glob_paths' => [realpath(__DIR__) . '/autoload/{,*.}{global,local}.php'],
+        'config_cache_key' => 'application.config.cache',
+        'config_cache_enabled' => true,
+        'module_map_cache_key' => 'application.module.cache',
+        'module_map_cache_enabled' => true,
+        'cache_dir' => 'data/cache/',
+    ],
+];
Index: src/webapp/apigility/config/autoload/.gitignore
===================================================================
--- src/webapp/apigility/config/autoload/.gitignore	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/.gitignore	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,4 @@
+local.php
+local-development.php
+*.local.php
+*.local-development.php
Index: src/webapp/apigility/config/autoload/README.md
===================================================================
--- src/webapp/apigility/config/autoload/README.md	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/README.md	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,8 @@
+About this directory:
+=====================
+
+By default, this application is configured to load all configs in
+`./config/autoload/{,*.}{global,local}.php`. Doing this provides a
+location for a developer to drop in configuration override files provided by
+modules, as well as cleanly provide individual, application-wide config files
+for things like database connections, etc.
Index: src/webapp/apigility/config/autoload/global-development.php
===================================================================
--- src/webapp/apigility/config/autoload/global-development.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/global-development.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,20 @@
+<?php
+/**
+ * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
+ * @copyright Copyright (c) 2014-2016 Zend Technologies USA Inc. (http://www.zend.com)
+ */
+
+use ZF\Apigility\Admin\Model\ModulePathSpec;
+
+return [
+    'view_manager' => [
+        'display_exceptions' => true,
+    ],
+    'zf-apigility-admin' => [
+        'path_spec' => ModulePathSpec::PSR_4,
+    ],
+    'zf-configuration' => [
+        'enable_short_array' => true,
+        'class_name_scalars' => true,
+    ],
+];
Index: src/webapp/apigility/config/autoload/global.php
===================================================================
--- src/webapp/apigility/config/autoload/global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,29 @@
+<?php
+return [
+    'zf-content-negotiation' => [
+        'selectors' => [],
+    ],
+    'db' => [
+        'adapters' => [
+            'gnuboat_mapservice_db' => [],
+        ],
+    ],
+    'zf-mvc-auth' => [
+        'authentication' => [
+            'map' => [
+                'gnuboat_mapservice\\V1' => 'gnuboat-oauth',
+            ],
+        ],
+    ],
+    'router' => [
+        'routes' => [
+            'oauth' => [
+                'options' => [
+                    'spec' => '%oauth%',
+                    'regex' => '(?P<oauth>(/oauth))',
+                ],
+                'type' => 'regex',
+            ],
+        ],
+    ],
+];
Index: src/webapp/apigility/config/autoload/local.php.dist
===================================================================
--- src/webapp/apigility/config/autoload/local.php.dist	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/local.php.dist	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Local Configuration Override
+ *
+ * This configuration override file is for overriding environment-specific and
+ * security-sensitive configuration information. Copy this file without the
+ * .dist extension at the end and populate values as needed.
+ *
+ * @NOTE: This file is ignored from Git by default with the .gitignore included
+ * in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
+ * credentials from accidentally being committed into version control.
+ */
+
+return [];
Index: src/webapp/apigility/config/autoload/user.global.php
===================================================================
--- src/webapp/apigility/config/autoload/user.global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/user.global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,21 @@
+<?php
+/**
+ * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
+ * @copyright Copyright (c) 2014 Zend Technologies USA Inc. (http://www.zend.com)
+ */
+
+/**
+ * Global Configuration Override
+ *
+ * You can use this file for overriding configuration values from modules, etc.
+ * You would place values in here that are agnostic to the environment and not
+ * sensitive to security.
+ *
+ * @NOTE: In practice, this file will typically be INCLUDED in your source
+ * control, so do not include passwords or other sensitive information in this
+ * file.
+ */
+
+return [
+    // ...
+];
Index: src/webapp/apigility/config/autoload/zf-mvc-auth-oauth2-override.global.php
===================================================================
--- src/webapp/apigility/config/autoload/zf-mvc-auth-oauth2-override.global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/zf-mvc-auth-oauth2-override.global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * This file was autogenerated by zfcampus/zf-mvc-auth (bin/zf-mvc-auth-oauth2-override.php),
+ * and overrides the ZF\OAuth2\Service\OAuth2Server to provide the ability to create named
+ * OAuth2\Server instances.
+ */
+return [
+    'service_manager' => [
+        'factories' => [
+            \ZF\OAuth2\Service\OAuth2Server::class => \ZF\MvcAuth\Factory\NamedOAuth2ServerFactory::class,
+        ],
+    ],
+];
Index: src/webapp/apigility/config/autoload/zfconfig.global.php
===================================================================
--- src/webapp/apigility/config/autoload/zfconfig.global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/autoload/zfconfig.global.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
+ * @copyright Copyright (c) 2014 Zend Technologies USA Inc. (http://www.zend.com)
+ */
+
+return [
+    'view_manager' => [
+        'strategies' => [
+            'ViewJsonStrategy',
+        ],
+    ],
+];
Index: src/webapp/apigility/config/development.config.php.dist
===================================================================
--- src/webapp/apigility/config/development.config.php.dist	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/development.config.php.dist	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,19 @@
+<?php
+/**
+ * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
+ * @copyright Copyright (c) 2014-2016 Zend Technologies USA Inc. (http://www.zend.com)
+ */
+
+return [
+    // Development time modules
+    'modules' => [
+        'ZendDeveloperTools',
+        'ZF\Apigility\Admin',
+    ],
+    // development time configuration globbing
+    'module_listener_options' => [
+        'config_glob_paths' => [realpath(__DIR__) . '/autoload/{,*.}{global,local}-development.php'],
+        'config_cache_enabled' => false,
+        'module_map_cache_enabled' => false,
+    ],
+];
Index: src/webapp/apigility/config/modules.config.old
===================================================================
--- src/webapp/apigility/config/modules.config.old	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/modules.config.old	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,31 @@
+<?php
+/**
+ * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
+ * @copyright Copyright (c) 2014-2016 Zend Technologies USA Inc. (http://www.zend.com)
+ */
+
+/**
+ * List of enabled modules for this application.
+ */
+return [
+    'Zend\Db',
+    'Zend\Filter',
+    'Zend\Hydrator',
+    'Zend\InputFilter',
+    'Zend\Paginator',
+    'Zend\Router',
+    'Zend\Validator',
+    'ZF\Apigility',
+    'ZF\Apigility\Documentation',
+    'ZF\ApiProblem',
+    'ZF\Configuration',
+    'ZF\OAuth2',
+    'ZF\MvcAuth',
+    'ZF\Hal',
+    'ZF\ContentNegotiation',
+    'ZF\ContentValidation',
+    'ZF\Rest',
+    'ZF\Rpc',
+    'ZF\Versioning',
+    'Application',
+];
Index: src/webapp/apigility/config/modules.config.php
===================================================================
--- src/webapp/apigility/config/modules.config.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/config/modules.config.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,29 @@
+<?php
+/**
+ * Configuration file generated by ZF Apigility Admin
+ *
+ * The previous config file has been stored in ./config/modules.config.old
+ */
+return [
+    'Zend\\Db',
+    'Zend\\Filter',
+    'Zend\\Hydrator',
+    'Zend\\InputFilter',
+    'Zend\\Paginator',
+    'Zend\\Router',
+    'Zend\\Validator',
+    'ZF\\Apigility',
+    'ZF\\Apigility\\Documentation',
+    'ZF\\ApiProblem',
+    'ZF\\Configuration',
+    'ZF\\OAuth2',
+    'ZF\\MvcAuth',
+    'ZF\\Hal',
+    'ZF\\ContentNegotiation',
+    'ZF\\ContentValidation',
+    'ZF\\Rest',
+    'ZF\\Rpc',
+    'ZF\\Versioning',
+    'Application',
+    'gnuboat_mapservice',
+];
