App is now a class so that it's easier to test.

Added index.js to export framework stuff.

Added tests for config loading system. This is now a class as well for easier testability.